import Router from 'vue-router'
import Vue from '../vue'
import App from '../component/app/app.vue'
import UserList from '../component/portfolio/cgb/certificate-user-list/certificate-user-list.vue'
import PrizeList from '../component/portfolio/cgb/price-user-list/price-user-list.vue'
import CGBList from '../component/portfolio/cgb/cgb-list/cgb-list.vue'
Vue.use(Router)
var app = Vue.extend(App)
var router = new Router()

router.map({
  '/': {
    component: CGBList
  },
  '/certificate': {
    component: UserList
  },
  '/price': {
    component: PrizeList
  }
})

router.start(app, 'app')
